<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<title>活动详情</title>
</head>
<body>
	<jsp:include page="navigation.jsp"></jsp:include>
	<div class="container" style="margin-left: 190px;">
		<div class="topbar-inner">
			<div class="myhead">
				<span class="crumb-name">活动详情</span>
			</div>
		</div>
		<div class="topbar-inner">
			<div class="search">
				<button type="button" id="search_btn" onclick="goback()" class="btn btn-default" style="margin-left: 20px; margin-top: 1px;">返回</button>
			</div>
		</div>


		<div style="margin: 20px 20px 20px 20px; text-align: center;">
			<table class="table table-bordered">

				<tbody>
					<tr>
						<td width="180px"><span style="float: right">活动名字：</span></td>
						<td><div style="float: left">
								<input type="hidden" name="id" value="${ obj.id }" /> <span>${ obj.event_name }</span>
							</div></td>
					</tr>
					<tr>
						<td><span style="float: right">活动类型：</span></td>
						<td><div style="float: left">
								<span>${ obj.event_type }</span>
							</div></td>
					</tr>
					<tr>
						<td><span style="float: right">发起人：</span></td>
						<td><div style="float: left">
								<span>${ obj.user.user_name }</span>
							</div></td>
					</tr>
					<tr>
						<td width="180px"><span style="float: right">活动地点：</span></td>
						<td><div style="float: left">
								<span>${ obj.place }</span>
							</div></td>
					</tr>
					<tr>
						<td><span style="float: right">简介：</span></td>
						<td><div style="float: left">
								<span>${ obj.intro }</span>
							</div></td>
					</tr>
					<tr>
						<td><span style="float: right">活动举行时间：</span></td>
						<td><div style="float: left">
								<span><fmt:formatDate value="${ obj.event_time }" pattern="yyyy-MM-dd HH:mm:ss" type="date" /></span>
							</div></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<script>
		function goback() {
			history.go(-1);
		}
	</script>
</body>
</html>